package com.share.order.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.share.order.api.domain.OrderBill;
import com.share.order.mapper.OrderBillMapper;
import com.share.order.service.IOrderBillService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 订单账单Service业务层处理
 *
 * @author atguigu
 * @date 2025-07-18
 */
@Service
public class OrderBillServiceImpl extends ServiceImpl<OrderBillMapper, OrderBill> implements IOrderBillService {
    @Autowired
    private OrderBillMapper orderBillMapper;

    /**
     * 查询订单账单列表
     *
     * @param orderBill 订单账单
     * @return 订单账单
     */
    @Override
    public List<OrderBill> selectOrderBillList(OrderBill orderBill) {
        return orderBillMapper.selectOrderBillList(orderBill);
    }

}
